package indi.kider.server.employee.mapper;

import indi.kider.common.model.apartment.Community;
import indi.kider.common.model.employee.Enterprise;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface EnterpriseMapper extends Mapper<Enterprise> {

    List<Enterprise> getEnterpriseList(Enterprise enterprise);

    List<Enterprise> getEnterprisesByCommunityId(Community community);

    List<Enterprise> getEnterprisesByHouseId(Long houseId);
}